]> dgit.raspbian.org Git - gnome-shell.git/commit
objectManager: correct other invalid index code in onNameVanished
authorRay Strode <rstrode@redhat.com>
Fri, 31 Aug 2018 16:48:00 +0000 (12:48 -0400)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 3 Sep 2018 22:40:46 +0000 (22:40 +0000)
commit96c5404fd49b5e35573271a20f0216a4eb8b181a
tree6aca1197ca3a74b71060e5e13fdf9eccdf78f2cc
parentafc7925e3e03282e4dfd050bc67c36490629a5de
objectManager: correct other invalid index code in onNameVanished

The object manager tries to synthesize interface removal
events if the bus name of a remote object drops off the bus.

The code had bad typos in it, though: it reuses the `i`
index variable in its inner loop, where it should be using
the `j` index variable.

This commit corrects the i/j confusion.
js/misc/objectManager.js